﻿// MfcOcct.h: MfcOcct 应用程序的主头文件
//
#pragma once

#ifndef __AFXWIN_H__
#error "在包含此文件之前包含 'pch.h' 以生成 PCH"
#endif

#include "resource.h"       // 主符号

// CMfcOcctApp:
// 有关此类的实现，请参阅 MfcOcct.cpp
//

class CMfcOcctApp : public CWinAppEx
{
public:
	CMfcOcctApp() noexcept;

	Handle(Graphic3d_GraphicDriver) GetGraphicDriver() { return m_GraphicDriver; }
	Handle(Graphic3d_GraphicDriver) m_GraphicDriver;

	// 重写
public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();

	// 实现
	BOOL  m_bHiColorIcons;

	virtual void PreLoadState();
	virtual void LoadCustomState();
	virtual void SaveCustomState();

	afx_msg void OnAppAbout();
	DECLARE_MESSAGE_MAP()
};

extern CMfcOcctApp theApp;
